/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package practicas;

public class Practica10_ComparaStrings {

    public static void main(String[] args) {
        if(args.length != 2){
            System.out.println("Son necesarias dos cadenas");
        }else{
            int entero = args[0].compareTo(args[1]);
            if(entero == 0){
                System.out.println("Las cadenas son IGUALES.");
            }else{
                System.out.println("Las cadenas son DISTINTAS.");
            }
        }
    }

}